package com.example.springbott.wx_bean_heheer;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 1784549954@qq.com
 * @since 2022/11/22 20:20
 */
@NoArgsConstructor
@Data
public class OrderDetailVODate {

    private DataBean data;

    @NoArgsConstructor
    @Data
    public static class DataBean {
        private List<?> expressInfo = null;
        private OrderInfoBean orderInfo;
        private List<OrderGoodsBean> orderGoods;

        @NoArgsConstructor
        @Data
        public static class OrderInfoBean {
            private String consignee;
            private String address;
            private String addTime;
            private String orderSn;
            private Double actualPrice;
            private String mobile;
            private String message;
            private String orderStatusText;
            private Integer aftersaleStatus;
            private Double goodsPrice;
            private Double couponPrice;
            private Integer id;
            private Double freightPrice;
            private HandleOptionBean handleOption;

            @NoArgsConstructor
            @Data
            public static class HandleOptionBean {
                private Boolean cancel;
                private Boolean delete;
                private Boolean pay;
                private Boolean comment;
                private Boolean confirm;
                private Boolean refund;
                private Boolean rebuy;
                private Boolean aftersale;
            }
        }

        @NoArgsConstructor
        @Data
        public static class OrderGoodsBean {
            private Integer id;
            private Integer orderId;
            private Integer goodsId;
            private String goodsName;
            private String goodsSn;
            private Integer productId;
            private Integer number;
            private Double price;
            private String[] specifications;
            private String picUrl;
            private Integer comment;
            private String addTime;
            private String updateTime;
            private Boolean deleted;
        }
    }
}
